package com.hnguigu.health.houduan.lq.service_lq.impl;

import com.hnguigu.health.houduan.lq.service_lq.TInterventionprogrammesService;
import com.hnguigu.health.mapper.TInterventionprogrammestableMapper;
import com.hnguigu.health.pojo.TInterventionprogrammestable;
import com.hnguigu.health.utils.forInterventprogrammes;
import com.hnguigu.health.utils.inquireaBy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TInterventionprogrammesServiceImpl implements TInterventionprogrammesService {
    @Autowired(required = false)
    TInterventionprogrammestableMapper tInterventionprogrammestableMapper;

    @Override
    public List<TInterventionprogrammestable> inquireabouttmetber(String content) {
        return tInterventionprogrammestableMapper.inquireabouttmetber(content);
    }

    @Override
    public List<TInterventionprogrammestable> inquireaBytmetberName(inquireaBy inquireaBy) {
        return tInterventionprogrammestableMapper.inquireaBytmetberName(inquireaBy);
    }

    @Override
    public List<TInterventionprogrammestable> inquireaBytmetberNameDate(inquireaBy inquireaBy) {
        return tInterventionprogrammestableMapper.inquireaBytmetberNameDate(inquireaBy);
    }

    @Override
    public int insertSelective(TInterventionprogrammestable record) {
        return tInterventionprogrammestableMapper.insertSelective(record);
    }

    @Override
    public int forInsert(forInterventprogrammes forInterventprogrammes) {
        return tInterventionprogrammestableMapper.forInsert(forInterventprogrammes);
    }

    @Override
    public int DelteBytermer(String tmerber) {
        return tInterventionprogrammestableMapper.DelteBytermer(tmerber);
    }

    @Override
    public int updateBytermer(TInterventionprogrammestable record) {
        return tInterventionprogrammestableMapper.updateBytermer(record);
    }

    @Override
    public List<TInterventionprogrammestable> queryBytemplateId(String templateId) {
        return tInterventionprogrammestableMapper.queryBytemplateId(templateId);
    }
}
